import { http } from '@/utils/http'
// 引入category类型声明文件
import type {CategoryTopItem} from '@/types/category'
export const getCateGoryAPI = () => {
    return http<CategoryTopItem[]>({
        method: 'GET',
        url:'/category/top'
    })
}